return to caller when there is no window to show in UIManager
Merge pull request #695 from houqp/new_ui_houqp

return to caller when there is no window to show in UIManager