Deactivate tabs for read only files