Modal dialog styling

Task #3475