Change prepareProperty func to modifyProperty such that it can setProperty, too

refs #2589