Able to close modal window by click back button.