Null check for alert title