added constrain popover to modal