Fixed bug with Dialog boxes and underlays