add Main file edit panel