fixed modal visibility