fixed cannot hide modal and fixed UI