when SampleEditView has no sample, it functions as a button linking to browse page