refactor modal window styling