Modals now initialize containing validation functions.

Connected to DoSomething/paraneue#34.