added some new utility methods for alert views