Fixed modal dialog for delete/restore
Preparation for the upcoming Laravel 5