tools: make the manager behave like a dialog