I don't see anything that has to do with PHP. Modal popups are (a) a client-side thing, and (b) IE-specific, so perhaps you'll find some information on how to handle them on MSDN. (Besides, good UI design would suggest that you shouldn't use modal dialogues at all unless you really really have to.)