Added detection for event.metaKey so preventDefault doesn't cancel out browser/OS shortcuts