fixed modal screen bug