rfe#1511:check for new database name before submitting.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>