Reset positioning for modal boxes