add thumbnail upload dialog

Solve #520

* Add thumbnail upload dialog