Added passive actions to the web application too.

See previous commit for details on what to do next.