cancels hidden folders
delete popup
remove redundant code