Temporary fix for modals in chrome/safari