I want to validate custom modal dialog form and if its not ok, prevent form from closing. For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior. function ...
Please, help me! I need to modify width of standard dialog form for adding element into library. If I click to ribbon button for adding element, form opened with width=402px: <div ...