Fixed Compilation. Alert dialogs removed.