Added catch error for
1. new building form: in case no data is filled in an error is raised
2. new supplier: in case there is another supplier with a name similar to what user enter an error is raised.