Modified dialog input boxes

Resolved bug where users were able to execute SQL statements via the
Sql Query parameters.