Function to try and close the current object. This function takes a JavaScript function as a parameter that will be executed if the object is dirty and cannot be closed.
Function to try and close the current object. This function takes a JavaScript function as a parameter that will be executed if the object is dirty and cannot be closed.