SF.onVisible as Promise and trigger for popups
Merge branch 'SFOnVisible'