Improve tab control handler

Bug fix unhandle exception when opens properties from FileManager