Well in that case, you don't need a custom dialog, just a "Do you want to use only the selected tiles?" Yes/No option.