Prevent default on take sample button.
More robust SampleDist styling.