Revert css that messed up dialog on Safari