Tree menu now also works when in an edit screen