You said you wanted a dialog, but this looks like a normal form. Anyway, you again made things more complicated than necessary, because you can open the form without a single line of code. Throw your code away and create a menu item button for your form. Then drag this menu item to SalesCreateOrder form, which will create a menu item button for you. You'll get what you tried with your code, plus a few benefits such as reusability of the menu item, less code to maintain, easier security setup etc.
To set the customer account number, notice that the form control is bound to a data source field (SalesTable.CustAccount). Therefore you can pass a table buffer of SalesTable data source to your form and set the field value there. When you use the menu item as explained above, the active SalesTable record should be passed automatically. If not, set the Data Source property on the menu item button to SalesTable.
In your form, this.args().record() will give you the SalesTable record.