Added check on existence of view's window when popover will be presented
Merge remote-tracking branch 'origin/master'