Bug: only add event handlers on page create, not on page view