Add UI support for samples