submit code about dialog