Adds validation listener to page

Refs #36