The first modal dialog is hidden when another one is opened inside it.