made genericDialog a bit more generic
made genericDialog a bit more generic

Change-Id: I37182ada53f1e35b5fb9a8a14dc5b47492433434
Reviewed-on: http://review.couchbase.org/8426
Tested-by: Dale Harvey <491ccac09a36ad1e38b698f273b84fd8efc31071@arandomurl.com>
Reviewed-by: Dale Harvey <491ccac09a36ad1e38b698f273b84fd8efc31071@arandomurl.com>

membase/ns_server,nimishzynga/ns_server,daverigby/ns_server,membase/ns_server,nimishzynga/ns_server,membase/ns_server,daverigby/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,nimishzynga/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,nimishzynga/ns_server,ceejatec/ns_server,mschoch/ns_server,nimishzynga/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,nimishzynga/ns_server,ceejatec/ns_server,membase/ns_server,daverigby/ns_server,daverigby/ns_server,membase/ns_server,vzasade/ns_server,membase/ns_server,mschoch/ns_server,vzasade/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server