Do not reselect path if is the current one
Only fire permissions changed event on commit