close modal dialog when you click on the mask
close dialog on ESC
styling of title and close 'X'