Added type=button to close button.
Added unit test to test that close button has type=button.
Merge pull request #221 from judowalker/feature/Add_type=button_to_close_button

Added type=button to close button.