fixed a bug which caused an exception closing a popup which had been previously closed
fixed a bug which caused an exception closing a popup which had been previously closed

pankajp/pyface,geggo/pyface,brett-patterson/pyface,geggo/pyface