Added add dialog (not complete), improved ui (a bit).