Wordpress media uploader destroy instance of modal?

Is there a destroy method which would remove modal instance after it has been created?

https://codex.wordpress.org/Javascript_Reference/wp.media