getting more compliceated but this should style the modal correctly