Modifications made to dialog styling suggested by Tim Paul