refactor modal styles