Added page deletion modals

- Added page deletion modals
- Fixed image null reference issue