<button popovertargetaction="show" popovertarget="ampd">Show</button>

<div popover id="ampd" class="menu">
	<button popovertargetaction="hide" popovertarget="ampd">Hide</button>
</div>