Merged dialogs to use same empty div and form