Use correct Bootstrap hide call for modal