This is why the popup object is often used to create menus and glossary definitions as illustrated earlier in this article. The popup object does not have this requirement giving you more control of its appearance. This is especially useful when creating custom menus and message boxes. Dialog boxes always take focus when they are first opened. If you want processes to continue to run in the parent window, the popup object can be used.
Dialog boxes support all types of form elements including text boxes.
The popup object does not support text boxes and is not meant to be used to gather sensitive information from the user. For more information about dialog boxes and the many uses for dialog boxes, see The Importance of Good Dialog . ToolTips also close when the pointer moves away from the element that contains the ToolTip or after a time period if the cursor does not keep moving over the element. On the other hand, ToolTips are often simpler to use and can require less code. Also noteworthy is that ToolTips will automatically close when a popup is opened.