Change the module and replace alert dialog to normal dialog fragment