Added a show_warning function to show_message module