Tweaks to ModelDialog

Ensure only numbers can be entered into both ModelDialog grids.