Moved reload event bindings to the layout method.