When in mobile, transform all popover in modal using template
Press esc to close modal