Adds resources for closing tabs