Hide modal if was clicked the button 'ok'.