ID 497905 - scene.close in scripts results in a LookupError when executed with a set default scene.

Follow

Problem summary
scene.close in scripts results in a LookupError when executed with a set default scene.
Customer reported version
modo.15.0v1
Customer reported platform
windows10
Steps to reproduce
1) Open Modo and select System > Preferences...
2) Go to the Application tab and set a Default Scene.


3) Now go to the Scripting layout and inside of the Script Editor enter:

lx.eval("scene.open {C:\\Path\\To\\The\\File} normal")
lx.eval("scene.close")
4) Run the script and notice a failed "Unhandled exception "exceptions.LookupError"; not found" message appearing the the Event Log:

Expected behaviour
Modo should revert back to the set default scene file.
Actual behaviour
An "Unhandled exception "exceptions.LookupError"; not found" error message occurs in the Event Log.
Workaround
Unknown. 
Reproduced by support
This bug has been reproduced in:
15.2v1 - Windows 10
15.1v1 - Windows 10
15.0v1 - Windows 10
14.2v1 - Windows 10
14.1v1 - Windows 10
14.0v1 - Windows 10
13.0v1 - Windows 10
12.2v2 - Windows 10
Earliest version tested
12.2v2 - This issue appears to be in all versions of the product.

    We're sorry to hear that

    Please tell us why