Compile dialog, improve compile servlet