fix a bug which prevent to close add hours popup