// Add removeActions function to tree and tree_toolbar