dialogs

Pattern for making popup modal dialogs