Fix bug with page part deletion.

Due to recent jquery-ui version bump tabs widget api has changed
and we were still using old api.