Make transition between dialogs