Added Modality.APPLICATION_MODAL in order to see the difference between different Modality configs.