Scripted 81. Added error detection to context menu dialogues.