MB-12222: hotfixes for promise based ui

Change-Id: I69db458e9934d6b80fff2e2a61614b04ec7ecf41
Reviewed-on: http://review.couchbase.org/42834
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>