Correcting graphical glitches with modals and positioning.