[CM1-774] Product search window get stuck even after aborting the product entry

When you opened product, searched for a product, did not chose any product but clicked Cancel instead.

Then the product search window was still open and got stuck in the normal CM work space.

This happened only the first time when you search for a product, If the same procedure is repeated and the product is cancelled, then the product search window is not stuck.

This has been fixed now.