Move compute dialog definition to its own file