editor: Simplify load data button event handlers.