CLOSING BROSWER TABS

My web application opens a new tab when a button is clicked. I want to be able to close the new tab once I'm done with it and continue working with the original tab. How can I achieve this?

The application runs of Chrome.