add new div wrap to dialogs