Added type to crop button to prevent premature form submission.