disable modal controls