refactored DialogResult and ActionResult
markup type chooser in new edit menu
make viewer unfocusable