Fix for issue #1910: Working set context menu pops closed when right-clicking file that hasn't been opened yet

Fix for issue #1910: Working set context menu pops closed when right-clicking file that hasn't been opened yet.