Issue 106: partial fix. Side panel now only closes on delete operation.