move search dialog to planning module