Restored the apply button in the modal window (see #6)