fixed npe
added abstract edit and list windows