Fix for modal resize bug - pulled from Zurb Foundation