edit window working