adding responsive to the dialogs