Modify Elements and Select Run bug fixes.

Ran into some other problems with the modify elements commands,
particularly when multiple runs were present that I believe are fixed.
Had problems with the selection command running a modal form directly
from the command.  This was moved to a modelss form that is called from
the main app.