Where the different dialogs are called.