Close opened file and some refactors

When hold event on column nav