show code dialog