improved _Call.when() method

Improved when method for floating window