Resolves: fdo#81421 listen to child window to see if it gets deleted

Change-Id: Iae2c642ad992c822720bcf1e34827bfaa35876b6
(cherry picked from commit efbd8f7ae0818dd914b6b1cb0b3d86b3a58f5f3e)