Panel close fix for add page