[ALMOST READY] Replace all instances of .click() with .trigger("click")

For #8466.