Fix dev tools Brackets close issue