Added closeModal() function to close modals programmatically
Updated documentation describing closeModal()
Merge pull request #261 from afifsohaili/feature/close-modal-inline-javascript

Allow closing modal programmatically