Prevent deletion of last remaining top-level form