this could be a lazy fill valve which isnt closing properly,cold water--cold valve,hot water ----hot valve,if its dirty water then it could be backfilling from the sink if its not plumbed in correctly,if so lift the drain hose high,
graham, July 2008