Fix removing menu dividers

Menu dividers don't have commands (for retrieving id), so store divider id for later reference.