[mvc/controller] Fixed unable to close alert messages generated by controller.