Before Removing Top Panel