Added deletion functionality to pages. Navigation bar z-order fixed.