Added more checks when dbconnect is set to false. Modified design of add
item dialog box and added browser for more custom data display