Fix usage of atom.commands.dispatch