change detection of "element not in DOM" on show to work properly in IE 8&9