Update app.js

Added autoBind in functions for modals to function properly