Add doc popup menu, add close file and close all files