modal is now displayed properly