I wouldn't recommend using "Dialog" if you plan to upgrade to v9. Dialogs are deprecated.
Similarly, be careful in how you develop a pop-up dialog box with javascript. This is possible and we did it but we now have to go through our code and make sure it's compatible with the v9 requirements for javascript. You will want your solution to work also on the Unified Interface.