Deletes lib/ui/BaseDialog