Creates a new command event with the given attributes.
Command events support the same set of modifier keys as mouse and key
events.
If the command event was redispatched because of a command= attribute
on the original target, sourceEvent will be set to the original DOM Event.
Otherwise, sourceEvent is null.