hiding edit buttons and wiring up the flyout