#refactoring: piggydb.widget.Fragment.js
#home_fragment: updated the create-relation dialog to support the home fragment