added modal dialog box for creating an offer