added edit window