Restored inline scripts
Improved post deletion modal