Revert "fix(DOM) this.promptNewFile -> Cmd.promptNewFile"

This reverts commit 5a07f09ffea18252903c6eacc7e1c0a6cc399baf.