I'm trying to add a validation function to the dialog component (which is a reference to the library dialog) in my new component that will check if an input is valid upon submit. I want to know how to extend the existing dialog component without having to copy the entire dialog component into my wor...