Updated model index filter button so that it shows the spinning icon when the form is ready for submit