My media file 

 

Create button on the ribbon:

Add crm parameter:

ITIL setting key name where the dialog's guid is stored:

Solution Elements tab should look like:

Select the proper command created for the button:

Call dialog demo button shown in place:

Libraries should be in correct sequence on form: