client side js validation added. if share field is blank and user press 'create share' button, a message will be displayed