fixed graphical bug with modal