Hide button in detail view, if no action is possible.