update modal controls