fixes edit task bug, closes selector bracket