Add window edit status method