Fixing the alert to close on hidden rather than data dismiss. Made alert title so it can be changed in default global options.