don't disable Save button too early, when saving document
don't disable Save button too early, when saving document

So that when document is invalid JSON we're not stuck in bad state.

Change-Id: Iaaa7a5e5db7f48c7022e179137beab467132a133
Reviewed-on: http://review.couchbase.org/10659
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Srinivas Vadlamani <4036f57732a648e71da3ac2c829c8239a16a4c5d@couchbase.com>
Reviewed-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>

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