Remove format in clipboard dialog properly