Added error pop-up messages