Close method added

Allows developers to close the modal at will. Also solved some small
issues and corrected mistake in readme.