Repaired add dialog