added basic addcontext dialog, issue #28