Swapped delete and close buttons