merge dialogs to inventory template

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