fix #1306 - focus wrongly assigned when a popup is destroyed

a timeout was inserted in order to check if the focus has to be moved by the user click or has to be forced (in case no focusable element is clicked)

closes #1306

(cherry picked from commit f04eca7f5fa061e0c43a41e143bef80038cc4db2)

Conflicts:
	src/aria/popups/PopupManager.js
v1.4.15B

(cherry picked from commit 8297bbe847c498b916aeeca9f7eccafb3c72159a)