Fixed overflowing popovers in modal dialogs