When user clicks on back to moodle site link, close the tab also