create separate view for alert messages