Release the input in PopupMenu