Quick Bug Fix

Fixed a bug that defected the resize handler when multiple modals were
on one page.