change style of pop up alert and error