Move customAlertDialogs into their own class and call them from there