Move home modals to separate templates, update post schema and fix some home helpers