preview widget will be destroyed on datasource changed in adding widget