alertPanel function for showing user alerts