chore(e2e): extend ElementFinder with waitAbsent

waitAbsent.js taken from https://gist.github.com/elgalu/e5be99c10df90d089af6.
chore(e2e): wait until modals are absent