required dialog controller

- all that was needed was a jQuery.sap.require
- also made a temp fix for the close in the fragment's controller