deprecate dialogs

Change-Id: I2c36d803a9b7b7691d28cd954344281c65a3310b
Reviewed-on: http://review.couchbase.org/31070
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>