update src sample to use dialog instead of app