Focus modal dialog input or text area on load

Small usability tweak to make keyboard shortcuts (such as CTRL+A to select all text or Escape to close) work as expected.