Can we do requestAttachment, insertBefore, removeChild here?

Also, shouldn't the menu close?